<template>
  <div>
    <h1>goods</h1>
    <testIpt v-model:value="value"></testIpt>
    <button @click="handleClick">click</button>
  </div>
</template>

<script setup lang="ts">
import testIpt from "@/components/testIpt.vue";
import { onMounted } from "vue";
const value = ref("123");
const count = ref(0);
const handleClick = () => {
  count.value++;
  value.value = "change" + count.value;
};
onMounted(() => {
  value.value = "mounted";
});
</script>

<style lang="scss" scoped>
h1 {
  color: #34cfcf;
}
</style>
